package kr.ac.pusan.cse.hts.common.data;

import java.io.Serializable;

public class ResultType implements Serializable {
	private static final long serialVersionUID = -1191319705650710583L;
	public static final ResultType OK = new ResultType(0, "OK");
	public static final ResultType ERROR = new ResultType(1, "ERROR");
	public static final ResultType DEALT = new ResultType(2, "DEALT");
	private int type;
	private String name;
	private ResultType(int type, String name){
		this.type = type;
		this.name = name;
	}
	public int getType(){
		return type;
	}
	public String getName(){
		return name;
	}
}
